package com.oxygen.pt.mapper;

import cn.hutool.core.lang.Pair;
import com.oxygen.pt.pojo.entity.HyperbaricChamber;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface HyperbaricChamberMapper {

    /**
     * 查询氧舱使用情况
     * @return K 舱号  V氧舱容量
     */
    @Select("SELECT chamber_number,available_capacity FROM hyperbaric_chamber")
    public List<Pair<Integer,Integer>> selectChamberInfo();
}
